/**
 * 
 */
package com.jie.eclipse.pan.config.dp;

import java.util.ArrayList;
import java.util.List;

import com.jie.eclipse.pan.config.BaseConfig;
import com.jie.eclipse.pan.config.BasePageConfig;

/**
 * @author yanjie
 *
 */
public class BasePanelConfig extends BaseConfig{
	List<TabConfig> tabs = null;//标签页
	
	/**
	 * @return 所有标签页
	 */
	public List<TabConfig> getTabs() {
		return tabs;
	}

	BasePageConfig page = null;
	public BasePanelConfig(BasePageConfig page) {
		this.page = page;
		this.SetExtValue(TAG_LABLE, "面板");
	}
	
	public void addTab(TabConfig tab){
		if(this.tabs == null)
			this.tabs = new ArrayList<TabConfig>();
		this.tabs.add(tab);
	}
	
	public void initPanel(){

	}
	
	@Override
	public void init() {
		initPanel();
	}
}
